<?php
/** 
 * Created by RisingSun. 
 * User: MarkSpace 
 * Date: 20231006
 * Time: 11:05 
 */

return [
	// ''=>[
	// 	'process'=>app\middleware\StaticFile::class,  //key 方法，value 类
	// 	'processs'=>app\middleware\File::class,  //key 方法，value 类
 //    ], //全局
    // admin应用中间件
    // 'admin' => [
    //     app\admin\middleware\AuthCheck::class,
    //     app\admin\middleware\IpCheck::class,
    // ],
    // // news应用中间件
    // 'news' => [
    //     app\news\middleware\AuthCheck::class,
    //     app\news\middleware\IpCheck::class,
    // ],
    // // api应用中间件
    // 'api' => [
    //     app\api\middleware\Language::class,
    //     app\api\middleware\IpCheck::class,
    // ]
];